module libeventd.EvMap;

import
	libeventd.Types ;
	
struct evmap_io_t {
	event_list		events;
	ev_uint16_t	nread;
	ev_uint16_t	nwrite;
}

struct event_map_entry {
	// event_io_map
	mixin HT_HEAD!(event_map_entry)	map_node ;
	evutil_socket_t fd;
	union {
		evmap_io_t evmap_io;
	}// ent;
}

struct event_io_map{
	mixin HT_HEAD!(event_map_entry);
}